package org.lq.ht.dao;

import java.sql.SQLException;
import java.util.List;

import org.lq.ht.entity.Vip;

/*
 * 
 */
public interface VipDao extends BaseDao<Vip>{
	
	List<Vip>  findVipByCard(String value);
	
	List<Vip>  findVipByName(String value);
	
	List<Vip>  findVipByType(String value);
	
	//删除通过卡号
	int  deleteByVid(int vid);
	//卡号找到VIP
	Vip getByVid(int vid);
	//所有vip的编号
	List<Long> findAllVid() throws SQLException;
	
}
